package com.java.system.common.entity.admin;


import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
/*import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;*/
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * 字典表(SysDict)实体类
 *
 * @author yangyuwei
 * @since 2019-07-02 13:33:41
 */
@ApiModel(value = "字典类")
@Data
@Accessors(chain = true)
public class SysDict implements Serializable {
    private static final long serialVersionUID = -40450767429164711L;
    //编号
    @ApiModelProperty(value = "主键Id")
    @Id
    private String id;
    //数据值
    @ApiModelProperty(value = "数据值")
    private String value;
    //标签名
    @ApiModelProperty(value = "标签名")
    private String label;
    //描述
    @ApiModelProperty(value = "描述")
    private String description;
    //排序（升序）
    @ApiModelProperty(value = "排序")
    private Integer sort;
    //父级编号(若父级编号不存在则默认为root)
    @ApiModelProperty(value = "父Id")
    private String parentId;
    //备注信息
    private String remarks;
    //创建人id
    private String crtUser;
    //创建人姓名
    private String crtName;
    //创建时间
    private Date crtTime;
    //最后修改人id
    private String updUser;
    //最后修改人姓名
    private String updName;
    //最后修改时间
    private Date updTime;
    //逻辑删除标识：1=删除；0=未删除
    private int delFlag;
    //状态(0:未锁定;1:锁定)
    private Integer status;
}